package com.wanxi.order.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel("父订单实体类")
public class OrderEntity {
    @ApiModelProperty(value = "订单id",example = "63")
    private Integer orderId;
    @ApiModelProperty(value = "订单类型",example = "2")
    private Integer orderType;
    @ApiModelProperty(value = "订单当前状态",example = "0")
    private Integer orderStatus;
    @ApiModelProperty(value = "订单生成时间",example = "2004-05-03 17:30:08")
    private String orderTime;
    @ApiModelProperty(value = "收货地址id",example = "2")
    private Integer shippingAddressId;
    @ApiModelProperty(value = "交易金额",example = "100.00")
    private Double transactionAmount;
    @ApiModelProperty(value = "优惠卷id",example = "22")
    private Integer couponsId;
    @ApiModelProperty(value = "消费者id",example = "22")
    private Integer buyerId;
    @ApiModelProperty(value = "店铺id",example = "22")
    private Integer storeId;
    @ApiModelProperty(value = "支付id",example = "3")
    private Integer paymentId;
    private Integer subOrdersCreateTime;
    private Integer subOrdersUpdateTime;
    private Integer subOrdersCreateUser;
    private Integer subOrdersUpdateUser;
    private Integer state;
}
